<template>
  <div>
    
    <input v-validate="'required|phone'" name="电码化" type="text"/>
    <span>{{ errors.first('电码化') }}</span>
  </div>
</template>
  
  <script>
 
export default {
  name: "Test",
  
  
};
</script>
  
 <style lang="less" scoped>
div {
  height: 300px;
  background: gainsboro;
  text-align: center;
}
</style>